Optimal. Leaf size=34 \[ \frac {2}{3} a \sqrt {a \cos ^2(x)} \tan (x)+\frac {1}{3} \left (a \cos ^2(x)\right )^{3/2} \tan (x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {3282, 3286,
2717} \begin {gather*} \frac {1}{3} \tan (x) \left (a \cos ^2(x)\right )^{3/2}+\frac {2}{3} a \tan (x) \sqrt {a \cos ^2(x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2717
Rule 3282
Rule 3286
Rubi steps
\begin {align*} \int \left (a \cos ^2(x)\right )^{3/2} \, dx &=\frac {1}{3} \left (a \cos ^2(x)\right )^{3/2} \tan (x)+\frac {1}{3} (2 a) \int \sqrt {a \cos ^2(x)} \, dx\\ &=\frac {1}{3} \left (a \cos ^2(x)\right )^{3/2} \tan (x)+\frac {1}{3} \left (2 a \sqrt {a \cos ^2(x)} \sec (x)\right ) \int \cos (x) \, dx\\ &=\frac {2}{3} a \sqrt {a \cos ^2(x)} \tan (x)+\frac {1}{3} \left (a \cos ^2(x)\right )^{3/2} \tan (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 26, normalized size = 0.76 \begin {gather*} \frac {1}{12} a \sqrt {a \cos ^2(x)} \sec (x) (9 \sin (x)+\sin (3 x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 24, normalized size = 0.71
method | result | size |
default | \(\frac {a^{2} \cos \left (x \right ) \sin \left (x \right ) \left (\cos ^{2}\left (x \right )+2\right )}{3 \sqrt {a \left (\cos ^{2}\left (x \right )\right )}}\) | \(24\) |
risch | \(-\frac {i a \,{\mathrm e}^{4 i x} \sqrt {a \left ({\mathrm e}^{2 i x}+1\right )^{2} {\mathrm e}^{-2 i x}}}{24 \left ({\mathrm e}^{2 i x}+1\right )}-\frac {3 i a \,{\mathrm e}^{2 i x} \sqrt {a \left ({\mathrm e}^{2 i x}+1\right )^{2} {\mathrm e}^{-2 i x}}}{8 \left ({\mathrm e}^{2 i x}+1\right )}+\frac {3 i a \sqrt {a \left ({\mathrm e}^{2 i x}+1\right )^{2} {\mathrm e}^{-2 i x}}}{8 \left ({\mathrm e}^{2 i x}+1\right )}+\frac {i a \,{\mathrm e}^{-2 i x} \sqrt {a \left ({\mathrm e}^{2 i x}+1\right )^{2} {\mathrm e}^{-2 i x}}}{24 \,{\mathrm e}^{2 i x}+24}\) | \(141\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.51, size = 17, normalized size = 0.50 \begin {gather*} \frac {1}{12} \, {\left (a \sin \left (3 \, x\right ) + 9 \, a \sin \left (x\right )\right )} \sqrt {a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 26, normalized size = 0.76 \begin {gather*} \frac {{\left (a \cos \left (x\right )^{2} + 2 \, a\right )} \sqrt {a \cos \left (x\right )^{2}} \sin \left (x\right )}{3 \, \cos \left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.46, size = 17, normalized size = 0.50 \begin {gather*} -\frac {1}{3} \, {\left (\sin \left (x\right )^{3} - 3 \, \sin \left (x\right )\right )} a^{\frac {3}{2}} \mathrm {sgn}\left (\cos \left (x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int {\left (a\,{\cos \left (x\right )}^2\right )}^{3/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________